# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit bazaar

DESCRIPTION="Poppler Python bindings."
HOMEPAGE="https://code.launchpad.net/~poppler-python/poppler-python/"
EBAZAAR_REPO_URI="https://code.launchpad.net/~poppler-python/poppler-python/trunk"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND=""
RDEPEND=""

src_unpack() {
	bazaar_src_unpack 
	cd ${S}
	NOCONFIGURE=1 ./autogen.sh || die "autogen.sh failed."
}

src_compile() {
	econf || die "configure failed."
	emake || die "make failed."
}
src_install() {
	make DESTDIR=${D} install || die "install failed."
}
